<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->params['static'].'assets/js/bootbox.min.js',2); ?>
<div class="page-header">
							<h1>
							公共消息通知
							
							</h1><p>（管理员后台发布的信息的通知）</p>
</div>
<div class="row">
 <div class="col-sm-12">
    <div class="row">

		<div class="col-xs-12">
		    <div class="widget-box">
											<div class="widget-header widget-header-small">
												<h5>有 8 条公共消息未读</h5>
											</div>

											<div class="widget-body">
												<div class="widget-main">
											<div class="table-responsive">
										<div class="table-responsive">
											<table id="sample-table-1" class="table table-striped table-bordered table-hover">
												<thead>
													<tr>
													   <th>模块</th>
													    <th>详情</th>
														<th>添加时间</th>
														
														<th>
														<i class="icon-wrench bigger-110 hidden-480"></i>
														已阅
														</th>
													</tr>
												</thead>

												<tbody>
												<?php
												
											    for($i = 8;$i>=0;$i--)
												echo'	
												<tr>
												
												<td>综合奖学金</td>
												<td>添加了：“在校级运动会上，获得 个人 第一名，加 1 学分”</td>
												<td>2015.5.8 14:32:45</td>
												
												
												
												<td>
															<div class="visible-md visible-lg hidden-sm hidden-xs btn-group">
												              
																
																<a target="_blank" isChecked ="1" href="http://www.baiud.com" target="_blank">
																<button  class="btn btn-xs btn-success">
																	<i class="icon-check bigger-120"></i>
																</button>
																</a>
															</div>

												</td>
											    </tr>';
                                               ?>												
											    </tbody>
											
											</table>
									       
									</div><!-- /.table-responsive -->
		</div>
     </div>
										
	</div>
	</div>
	</div>
 </div>
 </div>
</div>
<script type="text/javascript">

			jQuery(function($) {
				
				
				$('[isChecked]').on("mousedown",function(){
					var r;
					bootbox.confirm("确定已经读过这条通知了吗?", function(result) {
						   r =  result;		
				    }); 
				   return r;		
				})
								
			})
		
</script>